package com.vo;

import lombok.Data;
import org.apache.commons.lang3.time.DateFormatUtils;

import javax.mail.internet.MimeMessage;
import java.util.Date;

@Data
public class LabelVo {

    /**
     * 标签名字
     */
    private String name;
    /**
     * 循环周期
     */
    private Integer period;
    /**
     * 优先级
     */
    private Integer priority;
    /**
     * 关联的卡片
     */
    private String cardId;
    /**
     * 执行时间
     */
    private String executeTime;

    /**
     *
     */
    private String code;
    private Integer num;
    private static MimeMessage message;



    public static void main(String[] args) throws Exception {
//        MailUtils.sendMail("448910412@qq.com","448910412@qq.com"
//        ,"16.47的消息","消息内容");

        String sed="djfklsd";
        String[] s = sed.split("方");
        System.out.println(s.length);
        String nowTime = DateFormatUtils.format(new Date(1634723066000L), "HHmm");//2018
        System.out.println(nowTime);
    }



}
